Create Submenus
 
 
 
Bottom of the Page

You can create submenus to organize and group similar commands together. Submenus are created in much the same way that you create a menu.

The following table describes the non-alphanumeric characters that can be used to control the display and behavior of the caption for a submenu. Non-alphanumeric characters not listed are reserved for future use as special menu characters.

Special characters for submenus

Character

Description

Example

$(

Enables the pull-down or shortcut command label to evaluate a DIESEL string macro if $( are the first characters.

$(if,$(and,$(getvar,CleanScreenState),1),!.)Clean S&creen

~

Makes a command unavailable.

~Plot Style

!.

Marks a command with a check mark or if an icon is displayed for the menu item it appears sunken.

!.Layer...

&

Placed directly before a character, specifies the character as the menu access key in a pull-down or shortcut menu label.

S&ample displays Sample (with the letter a underlined).

\t

Pushes all label text entered after these characters to the right side of the menu.

Help\tF1 displays Help on the left side of the pull-down menu and F1 on the right side.

See Also
Procedure
To create a submenu
Quick Reference
Commands